const express = require("express");
const fs = require("fs");
const path = require("path");

const router = express.Router();

router.get("/checkUser",function(res,req){
    req.send({
        "userInfo": {
          "loginType": null,
          "userlist_rowcrtime": 1605838646,
          "othercontact": null,
          "userid": "17674020302",
          "userlist_rowuptime": 1608538760,
          "userlist_id": 60,
          "userlistid": 60,
          "useralias": "肖龙辉",
          "usermark": null,
          "loginTime": null,
          "usercompay": null,
          "usergroup": {
            "1": {
              "userlistid": 60,
              "usergroup_rowcrtime": 1608194461,
              "usergroup_rowuptime": 1608194468,
              "isadmin": 1,
              "group_id": 1,
              "usergroup_id": 39,
              "groupname": "管理组"
            }
          },
          "usermobile": "17674020302",
          "username": "肖龙辉",
          "useremail": "1135024178@qq.com",
          "useraddr": null
        },
        "userper": {
          "usermanager": true,
          "administrator": true,
          "smtuser": true,
          "customerManager": null,
          "layouttool": true,
          "invoiceManager": null
        }
      })
});

module.exports = router;